﻿using JustCleanIt.DataStructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace JustCleanIt.DataStructure
{
    public interface ICustomerRepository
    {
        List<Customer> GetAllCustomers();

        Customer GetCustomerByName(string name);

        bool IsCustomerRegistered(string email);

        string AddNewCustomer(Customer customer, string password2);

        bool DeleteACustomer(string name);

        bool UpdateACustomer(Customer customer);
    }

}